package com.zheng.upms.rpc.api;

import com.alibaba.fastjson.JSONArray;
import com.zheng.common.base.BaseService;
import com.zheng.upms.dao.model.UpmsRolePermission;

/**
 * <p>
 * 角色权限关联表 服务类
 * </p>
 *
 * @author likun
 * @since 2017-12-29
 */
public interface UpmsRolePermissionService extends BaseService<UpmsRolePermission> {
    /**
     * 分配角色权限
     * @return
     */
    int rolePermission(JSONArray systemArray, JSONArray permissionArray, Integer roleId);
}
